package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.ComOrganizationDepartmentesUsers;
import com.hoshiicloud.user.param.organization.ComOrganizationDepartmentesUsersQueryParam;

import java.util.List;

/**
 * <p>
 * 租户机构部门人员 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-27
 */
public interface ComOrganizationDepartmentesUsersService extends IService<ComOrganizationDepartmentesUsers> {

    ComOrganizationDepartmentesUsers getById(Long id);

    boolean save(ComOrganizationDepartmentesUsers entity);

    boolean updateById(ComOrganizationDepartmentesUsers entity);


    IPage<ComOrganizationDepartmentesUsers> getPage(IPage<ComOrganizationDepartmentesUsers> page, QueryWrapper<ComOrganizationDepartmentesUsers> queryWrapper, String key);

    boolean deleteById(long id);

    List<ComOrganizationDepartmentesUsers> getByIds(List<Long> ids,String key);
}
